﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.oracle
{
	// Token: 0x0200012B RID: 299
	public class TBasicStmt : TCustomSqlStatement
	{
		// Token: 0x0600099B RID: 2459 RVA: 0x00303A93 File Offset: 0x00301C93
		public TBasicStmt() : this(EDbVendor.dbvoracle)
		{
		}

		// Token: 0x0600099C RID: 2460 RVA: 0x00303A9D File Offset: 0x00301C9D
		public TBasicStmt(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstplsql_procbasicstmt;
		}

		// Token: 0x0600099D RID: 2461 RVA: 0x00303AB1 File Offset: 0x00301CB1
		internal override void buildsql()
		{
		}

		// Token: 0x0600099E RID: 2462 RVA: 0x00303AB3 File Offset: 0x00301CB3
		internal override void clear()
		{
		}

		// Token: 0x0600099F RID: 2463 RVA: 0x00303AB5 File Offset: 0x00301CB5
		internal override string getasprettytext()
		{
			return "";
		}

		// Token: 0x060009A0 RID: 2464 RVA: 0x00303ABC File Offset: 0x00301CBC
		internal virtual void iterate(TVisitorAbs pvisitor)
		{
		}

		// Token: 0x170001B3 RID: 435
		// (get) Token: 0x060009A1 RID: 2465 RVA: 0x00303ABE File Offset: 0x00301CBE
		// (set) Token: 0x060009A2 RID: 2466 RVA: 0x00303AC6 File Offset: 0x00301CC6
		public virtual TExpression Expr
		{
			get
			{
				return this.expr;
			}
			set
			{
				this.expr = value;
			}
		}

		// Token: 0x060009A3 RID: 2467 RVA: 0x00303ACF File Offset: 0x00301CCF
		public override void init(object arg1)
		{
			this.expr = (TExpression)arg1;
		}

		// Token: 0x060009A4 RID: 2468 RVA: 0x00303ADD File Offset: 0x00301CDD
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			base.doParseStatement(psql);
			this.expr.doParse(this, ESqlClause.unknown);
			return 0;
		}

		// Token: 0x060009A5 RID: 2469 RVA: 0x00303AF5 File Offset: 0x00301CF5
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x060009A6 RID: 2470 RVA: 0x00303B05 File Offset: 0x00301D05
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			this.expr.acceptChildren(v);
			v.postVisit(this);
		}

		// Token: 0x04001252 RID: 4690
		private TExpression expr;
	}
}
